const express = require('express');

const routes = express.Router();

const { login, getUsers, uploadSwiper, swiperDelect, getUsersDetails, 
    getSettledUsers, getSettledUserDetails, SettledUsersReview, userSchemaDelect,
    service, getSystemConfig, Newtag, gettags, deltags,NewdynamicsTags,getdynamicsTags,dynamicsTagsdel,getDynamicsLists,getDynamicsDetails,dynamicsReview,getOrderLists } = require('../controllers/Admincontrollers');

routes.post('/login', login);
routes.get('/getUserLists', getUsers);
routes.post('/addSwipers', uploadSwiper);
routes.get('/swiperDel', swiperDelect);
routes.get('/UserDetails', getUsersDetails);
routes.get('/getSettledUsersList', getSettledUsers);
routes.get('/getSettledUserDetails', getSettledUserDetails);
routes.post('/SettledUsersReview', SettledUsersReview);
routes.post('/service', service);
routes.get('/getSystemConfig', getSystemConfig);
routes.post('/Newtag', Newtag);
routes.get('/gettags', gettags);
routes.get('/deltags', deltags);
routes.post('/NewdynamicsTags', NewdynamicsTags);
routes.get('/getdynamicsTags', getdynamicsTags);
routes.get('/dynamicsTagsdel', dynamicsTagsdel);
routes.get('/getDynamicsLists', getDynamicsLists);
routes.get('/getDynamicsDetails', getDynamicsDetails);
routes.post('/dynamicsReview', dynamicsReview);
routes.get('/getOrderLists', getOrderLists);
routes.get('/userSchemaDelect', userSchemaDelect);

module.exports = routes;